<template>
	<view class="submit_box">
		<view class="submit_btn" @click="submit">{{ text }}</view>
	</view>
</template>

<script>
	export default{
		props: ["text"],
		methods:{
			submit(){
				this.$emit("submit")
			}
		}
	}
</script>

<style lang="scss" scoped>
	.submit_box{
		position: fixed;
		width: 100%;
		bottom: 19%;
		display: flex;
		justify-content: center;
		z-index: 9999;
		
		.submit_btn{
			padding: 20rpx 0rpx;
			background: linear-gradient(to top, #B67642, #E6BF91);
			box-shadow: 0px 8rpx 20rpx 8rpx rgba(153, 153, 153, 0.24);
			color: #fff;
			width: 300rpx;
			text-align: center;
			border-radius: 50rpx;
		}
	}
</style>